Remove get_tz_offset as it has no callers.
authorrobertlipe@gmail.com <robertlipe@gmail.com@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Sun, 27 Jan 2013 22:03:27 +0000 (22:03 +0000)
committerrobertlipe@gmail.com <robertlipe@gmail.com@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Sun, 27 Jan 2013 22:03:27 +0000 (22:03 +0000)
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4264 f51c46e8-681c-474f-0cfe-069cfd0219fb

gpsbabel/util.cc

index 0f10277deabc7eb9a3dc0ac3eae6d73332330c2a..d845f3823e9c2d1ac9811d2fa2c0aff1a2a98177 100644 (file)
@@ -828,24 +828,6 @@ si_round(double d)
   }
 }
 
-/*
- *  Return a time_t suitable for adding to a time_t that is in GMT to
- *  make it a local time.
- *  Obsolete: to use mkgmtime instead.
- */
-signed int
-get_tz_offset(void)
-{
-  time_t now = current_time();
-  time_t later = mktime(gmtime(&now));
-
-  if (later == -1) {
-    return 0;
-  } else {
-    return (signed int) difftime(now, later);
-  }
-}
-
 /*
        mkgmtime -- convert tm struct in UTC to time_t